GridResample Interface

public interface GridResample

Module Procedures

private subroutine ResampleFloatCell(grid, resampledGrid, newCellsize)

Create a new grid_real with cellsize different from input grid The content of the created grid is filled in with nearest neighbor method

Arguments

Type IntentOptional Attributes Name
type(grid_real), intent(in) :: grid
type(grid_real), intent(out) :: resampledGrid
real(kind=float), intent(in) :: newCellsize

private subroutine ResampleIntegerCell(grid, resampledGrid, newCellsize)

Create a new grid_integer with cellsize different from input grid The content of the created grid is filled in with nearest neighbor method

Arguments

Type IntentOptional Attributes Name
type(grid_integer), intent(in) :: grid
type(grid_integer), intent(out) :: resampledGrid
real(kind=float), intent(in) :: newCellsize

private subroutine ResampleFloat(grid, resampledGrid)

Arguments

Type IntentOptional Attributes Name
type(grid_real), intent(in) :: grid
type(grid_real), intent(inout) :: resampledGrid

private subroutine ResampleInteger(grid, resampledGrid)

Arguments

Type IntentOptional Attributes Name
type(grid_integer), intent(in) :: grid
type(grid_integer), intent(inout) :: resampledGrid